import java.util.List;

public class Film {
    String filmName;

    //1表示上架,2表示下架
    int flag;

    //时长
    int duration;

    //时间
    String time;

    List<Integer> pingFen;

    double price;

    public Film() {
    }

    public Film(String filmName, int flag, int duration, String time, List<Integer> pingFen, double price) {
        this.filmName = filmName;
        this.flag = flag;
        this.duration = duration;
        this.time = time;
        this.pingFen = pingFen;
        this.price = price;
    }

    @Override
    public String toString() {
        return
                "电影名='" + filmName + '\'' +
                ", 时长=" + duration +
                ", 放映时间='" + time + '\'' +
                ", 评分='" + pingFen + '\'' +
                ", 价格=" + price ;
    }
}
